* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}

.box {
    margin: 0 auto;
    width: 500px;
    height: 300px;
    /* border: 1px solid #000; */
    overflow: hidden;
    /* background-color: skyblue; */
    /* background-image: radial-gradient(#fff 5%, #000); */
}

.box>.img_box {
    position: relative;
}

.box>.img_box>ul {
    position: relative;
    height: 150px;
    /* background-color: #87ceeb; */
}

.box>.img_box>ul>li {
    position: absolute;
    width: 400px;
    transition: 0.3s ease-in-out;
    /* bottom: 20px; */
}

.box>.img_box>ul>.list01 {
    transform: translateX(0) scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list02 {
    transform: translateX(50px) scale(1);
    z-index: 3;
}

.box>.img_box>ul>.list03 {
    transform: translateX(180px) scale(0.8);
    z-index: 1;
    transform-origin: left center;
}

.box>.img_box>ul>.list04 {
    transform: translateX(90px) scale(0.8);
    transform-origin: left center;
}

.box>.img_box>ul>li img {
    display: block;
    width: 100%;
}

.box>.img_box>.l_btn,
.box>.img_box>.r_btn {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 50px;
    /* background-color: gainsboro; */
    background-color: grey;
    transform: translateY(-50%);
    opacity: 0.5;
    z-index: 10;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    font-size: 25px;
    border-radius: 12px;
}

.box>.img_box>.l_btn:hover,
.box>.img_box>.r_btn:hover {
    height: 50px;
    background-color: gainsboro;
    /* background-color: grey; */
    transform: translateY(-50%) scale(1.2);
    transition: 0.3s ease-in-out;
    line-height: 50px;
    border-radius: 12px;
}

.box>.img_box>.l_btn {
    left: 0;
}

.box>.img_box>.r_btn {
    right: 0;
}

.box>.dot_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.box>.dot_box>span {
    width: 20px;
    height: 4px;
    background-color: gainsboro;
    margin: 0 5px;
    cursor: pointer;
}

.box>.dot_box>.dot_active {
    background-color: grey;
}

.box>.dot_box>span:hover {
    background-color: grey;
}